import { request } from '@/utils/request.js'

export const apiSearchHistory = data => request('get', '/searchWall', data)

export const apiBannerList = () => request('get', '/homeBanner')

export const apiNoticeList = data => request('get', '/wallNewsList', data)
export const apiNoticeDetail = data => request('get', '/wallNewsDetail', data)

export const apiRecommandList = () => request('get', '/randomWall')

export const apiClassifyList = data => request('get', '/classify', data)

export const apiWallList = data => request('get', '/wallList', data)

export const apiMakeScore = data => request('get', '/setupScore', data)

export const apiDownload = data => request('get', '/downloadWall', data)

export const apiDetailWall = data => request('get', '/detailWall', data)

export const apiUserInfo = () => request('get', '/userInfo')

export const apiHistoryList = data => request('get', '/userWallList', data)
